package com.coderman.infosys.busorder.domain.enums;

import lombok.Getter;

/**
* @Description:工单类型类
* @Author:shenshuai
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@Getter
public enum OrderTypeEnum{

   /**
    *
    */
   DBA_ORDER("dba_order","DBA工单"),
   OPS_ORDER("ops_order","运维工单"),
   BUS_ORDER("bus_order","业务工单"),
   ;

   /** 类型code **/
   private String code;
   /** 类型描述 **/
   private String desc;


   OrderTypeEnum(String code,String desc){
       this.code = code;
       this.desc = desc;
   }



   /**
    *
    * @Description:static
    * @return OrderTypeEnum
    */
   public static OrderTypeEnum  getByCode(String code){
       return null;
   }

}